/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.jims.master.modules.doctor.netHosptial.dao;

import com.jims.master.common.persistence.CrudDao;
import com.jims.master.common.persistence.annotation.MyBatisDao;
import com.jims.master.modules.doctor.netHosptial.entity.NetOrders;

import java.util.List;

/**
 * 门诊医嘱记录DAO接口
 * @author qlx
 * @version 2016-09-10
 */
@MyBatisDao
public interface NetOrdersDao extends CrudDao<NetOrders> {
    //查询最大patient_id
    public String findMaxOutpOrders();

    /**
     * 获得患者未传送的信息
     * @param patientId
     * @param visitDate
     * @param visitNo
     * @return
     */
    public List<NetOrders> getInfoToSend(NetOrders netOrders);

    //改变发送标志
    public Integer send(NetOrders netOrders);


    public void deleteFromAppointNo(NetOrders netOrders);

    /**
     *
     * @param_serialNo
     * @param_visitDate
     * @param_visitNo
     * @return
     */
    public NetOrders getByEntity(NetOrders netOrders);

}